package com.itsitio.registeradmin.dao.impl;

import java.util.List;

import org.hibernate.Criteria;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.DetachedCriteria;
import org.hibernate.criterion.Disjunction;
import org.hibernate.criterion.MatchMode;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.itsitio.registeradmin.dao.CompanyTypeDao;
import com.itsitio.registeradmin.dao.base.SpringHibernateDao;
import com.itsitio.registeradmin.model.Company;
import com.itsitio.registeradmin.model.CompanyType;

@Repository
public class CompanyTypeDaoImpl extends SpringHibernateDao<CompanyType> implements CompanyTypeDao{

	@Autowired
	public CompanyTypeDaoImpl(SessionFactory sessionFactory) {
		super(sessionFactory);
	}

	@Override
	protected Class<CompanyType> getObjetoManejado() {
		return CompanyType.class;
	}

}
